<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			/*
			
			  数据类型:
			  1.基本: string,number,boolean,null,undefined
			  2.复杂: Object(数组,函数,自定义对象,内置对象)
			
			  ES6新增数据类型:Symbol 表示独一无二
			
			*/

			let s1 = Symbol("zhangsan");
			let s2 = Symbol("zhangsan");

			// console.log(s1 === s2);
			let name = Symbol("name");
			let stu = {
				name: "张三",
				age: 20,
				[name]: "李四"
			}
			console.log(stu);
		</script>
	</body>
</html>
